<%--
  Created by IntelliJ IDEA.
  User: steph
  Date: 6/30/2024
  Time: 6:16 AM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>产品列表</title>
</head>
<body>
<h2>产品列表</h2>
<table border="1">
    <tr>
        <th>ID</th>
        <th>产品名称</th>
        <th>参数</th>
        <th>价格</th>
        <th>数量</th>
        <th>生产商</th>
        <th>警报信息</th>
    </tr>
    <c:forEach var="product" items="${products}">
        <tr>
            <td>${product.id}</td>
            <td>${product.name}</td>
            <td>${product.parameter}</td>
            <td>${product.price}</td>
            <td>${product.number}</td>
            <td>${product.producer}</td>
            <td>${product.alert}</td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
